Pointers versus Arithmetic in PRAMs
نویسندگان
چکیده
Manipulation of pointers in shared data structures is an important communication mechanism used in many parallel algorithms. Indeed, many fundamental algorithms do essentially nothing else. A Parallel Pointer Machine, (or PPM ) is a parallel model having pointers as its principal data type. PPMs have been characterized as PRAMs obeying two restrictions | rst, restricted arithmetic capabilities, and second, the CROW memory access restriction (Concurrent Read, Owner Write, a commonly occurring special case of CREW). We present results concerning the relative power of PPMs (and other arithmetically restricted PRAMs) versus CROW PRAMs having ordinary arithmetic capabilities. First, we prove lower bounds separating PPMs from CROW PRAMs. For example, any step-by-step simulation of an n-processor CROW PRAM by a PPM requires time (log logn) per step. Second, we show that this lower bound is tight | we give such a step-by-step simulation using O(log logn) time per step. As a corollary, we obtain sharply improved PPM algorithms for a variety of problems, including deterministic context-free language recognition. Research supported by NSERC, the Information Technology Research Centre of Ontario, NSF Grant CCR9002891 and NSF/DARPA Grant CCR-8907960. A portion of this work was performed while the rst and last authors were visiting the University of Toronto, whose hospitality is gratefully acknowledged.
منابع مشابه
The Owner Concept for PRAMs
We analyze the owner concept for PRAMs. In OROW-PRAMs each memory cell has one distinct processor that is the only one allowed to write into this memory cell and one distinct processor that is the only one allowed to read from it. By symmetric pointer doubling, a new proof technique for OROW-PRAMs, it is shown that list ranking can be done in O(log n) time by an OROWPRAM and that LOGSPACE OROW-...
متن کاملConsumption of soda and other sugar-sweetened beverages by 2-year-olds: findings from a population-based survey.
OBJECTIVE To determine risk factors for consumption of soda and other sugar-sweetened beverages (SSB) among 2-year-old children. DESIGN The analysis was performed using three linked data sets: the 2004-2005 Oregon Pregnancy Risk Assessment Monitoring Survey (PRAMS); its longitudinal follow-up, 2006-2007 Oregon PRAMS-2; and 2004-2005 Oregon birth certificates. SETTING PRAMS is a surveillance...
متن کاملUniform Circuits and Exclusive Read Prams 3 (preliminary Version, January 1991)
CRCW-PRAMs can be characterized in terms of unbounded fan-in circuits. We introduce the notion of SELECT-gates. Combining this with the concept of an unambiguous circuit we are able to give a circuit equivalent of EREW-PRAMs, thus answering an open question of [SV84]. Moreover, circuits with SELECT-gates characterize CRCW-, CREW-, ERCW-, and EREW-PRAMs in a uniform manner.
متن کاملC memory object and value semantics : the space of de facto and ISO standards
2 Abstract Pointers 7 2.1 Pointer Provenance . . . . . . . . . . . . . 7 2.1.1 Q1. Must the pointer used for a memory access have the right provenance, i.e. be derived from the pointer to the original allocation (with undefined behaviour otherwise)? (This lets compilers do provenance-based alias analysis) . . 7 2.1.2 Q2. Can equality testing on pointers be affected by pointer provenance informa...
متن کاملViews, Types and Viewtypes
The need for direct memory manipulation through pointers is essential in many applications. However, it is also commonly understood that the use (or probably misuse) of pointers is a rich source for program errors. In this paper, we design and then formalize a type system that can effectively prevent dangling pointers from being ever accessed during the evaluation of a well-type program. In par...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1993